import request from '@/utils/request'
import $qs from 'qs'

export function deliveryIndex(params) {
  return request({
    url: '/deliveryIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editDealerMoney(params) {
  return request({
    url: '/editDealerMoney',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editOrderSend(params) {
  return request({
    url: '/editOrderSend',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getRefereeDealerUser(params) {
  return request({
    url: '/getRefereeDealerUser',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliveryAdd(params) {
  return request({
    url: '/deliveryAdd',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function orderUpdatePrice(params) {
  return request({
    url: '/orderUpdatePrice',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliveryEdit(params) {
  return request({
    url: '/deliveryEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getExpress(params) {
  return request({
    url: '/getExpress',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliveryDelete(params) {
  return request({
    url: '/deliveryDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliveryCopy(params) {
  return request({
    url: '/deliveryCopy',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliverySetting(params) {
  return request({
    url: '/deliverySetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliveryGet(params) {
  return request({
    url: '/deliveryGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function deliverySearch(params) {
  return request({
    url: '/deliverySearch',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function selffetchSetting(params) {
  return request({
    url: '/selffetchSetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderSettingGet(params) {
  return request({
    url: '/orderSettingGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderSettingSave(params) {
  return request({
    url: '/orderSettingSave',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderList(params) {
  return request({
    url: '/orderList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function orderClose(params) {
  return request({
    url: '/orderClose',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderSend(params) {
  return request({
    url: '/orderSend',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderRefund(params) {
  return request({
    url: '/orderRefund',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderConfirmPay(params) {
  return request({
    url: '/orderConfirmPay',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderCodeList(params) {
  return request({
    url: '/orderCodeList',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderDelay(params) {
  return request({
    url: '/orderDelay',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderCheckCode(params) {
  return request({
    url: '/orderCheckCode',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderSelfDelery(params) {
  return request({
    url: '/orderSelfDelery',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function orderDetail(params) {
  return request({
    url: '/orderDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function startRefund(params) {
  return request({
    url: '/startRefund',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delRefundApplyInfo(params) {
  return request({
    url: '/delRefundApplyInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function RefundApplyToExamine(params) {
  return request({
    url: '/RefundApplyToExamine',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getRefundList(params) {
  return request({
    url: '/getRefundList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delRefundReason(params) {
  return request({
    url: '/delRefundReason',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function updateRefundReasonInfo(params) {
  return request({
    url: '/updateRefundReasonInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function addRefundReason(params) {
  return request({
    url: '/addRefundReason',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getRefundReasonList(params) {
  return request({
    url: '/getRefundReasonList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getOneRefundReasonInfo(params) {
  return request({
    url: '/getOneRefundReasonInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function refundStoreSendGoods(params) {
  return request({
    url: '/refundStoreSendGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getRefundApplyDetail(params) {
  return request({
    url: '/getRefundApplyDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function closeRefundApplyOrder(params) {
  return request({
    url: '/closeRefundApplyOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getBusForGiftOrder(params) {
  return request({
    url: '/getBusForGiftOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function reserveApplyList(params) {
  return request({
    url: '/reserveApplyList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function agreeReserve(params) {
  return request({
    url: '/agreeReserve',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function orderRepair(params) {
  return request({
    url: '/orderRepair',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function manualTicketOrder(params) {
  return request({
    url: '/manualTicketOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function manualPayment(params) {
  return request({
    url: '/manualPayment',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function orderCheckCodeRecord(params) {
  return request({
    url: '/orderCheckCodeRecord',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function formSubmitDetail(params) {
  return request({
    url: '/formSubmitDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function orderReceipt(params) {
  return request({
    url: '/orderReceipt',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function forcedOrder(params) {
  return request({
    url: '/forcedOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function ticketCode(params) {
  return request({
    url: '/ticketCode',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function refundTicketOrder(params) {
  return request({
    url: '/refundTicketOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}